<!DOCTYPE html>
<html>
<head>

<title>虎扑NBA新闻_{{$news->ntitle}}</title>
<script type="text/javascript">
var __daceDataNameOfChannel = 'nba';
</script><meta name="apple-itunes-app" content="app-id=906632439" />
    <link rel="shortcut icon" rel="stylesheet" href="{{asset('/HomeCss/images/favicon.ico')}}"/>

<link rel="stylesheet" type="text/css" href="{{asset('/HomeCss/News/css/common.css')}}" />
<script src="{{asset('/HomeCss/News/js/38d608ec2a5a48bfb343e7618e3437d2.js')}}"></script>

<script src="{{asset('/HomeCss/News/js/common.js')}}"></script>
   
<meta name="mobile-agent" content="#" />
<link rel="alternate" href="android-app://com.hupu.games/kanqiu/nba/nba/news/2112597.html?type=1&r=hupucom" />
        <link rel="stylesheet" type="text/css" media="screen" href="{{asset('/HomeCss/News/css/941dd681021544fdbb252334af51ab14.css')}}" />
<!-- seajs config 配置 -->

</head>
<body>
<!--包含页面公共头部信息-->
    <!-- topbar start -->
<div class="hp-topbarNav">
            <div class="hp-topbarNav-bd" >
                 <input type="hidden" name='uid' value="{{session('uid')}}">
                        <div style="postion:relative;float: right;">
                            @if(session('uid'))
                                <span>&nbsp;@if(session('uid')) 您好,<a href="/home/mypage/page">{{session('username')}}</a> ,欢迎登录! @else  您好,游客 @endif</span>&nbsp;&nbsp;&nbsp;
                                <a href="{{url('/home/mypage/out/')}}" class='out'><button class="btn btn-outline btn-default btn-xs " type="button" s tyle='position:absolute;right:20px;top:3px;'>退出</button></a>
                            @else    
                                <a href="{{url('/home/login/login/')}}" class='login'><button class="btn btn-outline btn-default btn-xs " type="button" s tyle='position:absolute;right:60px;top:3px;'>登录</button></a> 
                                <a href="{{url('/home/login/regist/')}}" class='regist' ><button class="btn btn-outline btn-default btn-xs " type="button" s tyle='position:absolute;right:150px;top:3px;'>注册</button></a>
                            @endif    
                        </div>
                    
                <div class="hp-topbar-loginInfo" id="J_topbar_loginInfo">
                </div>
            </div>
        </div>
<!-- topbar end -->
<!-- header start -->
<div class="hp-header">
    <div class="hp-nav">
                    
                    <div class="hp-mainNav" style="width:1000px;">
                        <div class="hp-mainNav-bd">
                            <ul class="hp-nba-channel-item">
                    <li class="first"><a href="http://hp.bbs.cn" data-name="sports" target="_blank">虎扑体育</a></li>
                    <li class="line">|</li>
                    <li><a href="/home/news" data-name="nba" target="_blank">新闻</a></li>
                    <li class="line">|</li>
                    <li><a href="/home/post" data-name="nba" target="_blank">论坛</a></li>
                    <li class="line">|</li>
                    <li><a href="/home/post/index?sid=1" data-name="nba" target="_blank">NBA</a></li>
                    <li class="line">|</li>
                    <li><a href="/home/post/index?sid=2" data-name="nba" target="_blank">交易</a></li>
                    <li class="line">|</li>
                    <li><a href="/home/post/index?sid=3" data-name="nba" target="_blank">技术</a></li>
                    <li class="line">|</li>
                    <li><a href="/home/shihuo" data-name="nba" target="_blank">识货</a></li>
                    <li class="line">|</li>
                </ul>
                        </div>
                       
                        <i class="hp-roundPoint-br-tl">
                        </i>
                        <i class="hp-roundPoint-br-tr">
                        </i>
                        <i class="hp-roundPoint-br-bl">
                        </i>
                        <i class="hp-roundPoint-br-br">
                        </i>
                    </div>
                </div>
</div>
<!-- header end -->   
<!-- navPath start -->
                   
<div class="hp-nav-path">
    <div class="navPath-logo">
        <a title="虎扑新闻" href="/home/news">
            <img src="{{asset('/HomeCss/News/picture/hp_logo_nba.png')}}" alt="虎扑新闻">
        </a>
    </div>
    <div class="navPath-crumb">
                                                                        <a href="https://voice.hupu.com/nba" title="篮球新闻">篮球新闻</a> <span class="arrow-right">&gt;</span>
                                                                                {{$news->ntitle}}                                                  </div>
    <div class="navPath-search J_hp_search">
    <form action="/home/news/index" method="get" enctype="multipart/form-data">

        <input name="keywords" value="" type="text"  class="input-search" placeholder="搜索新闻">

        <input type="submit" class="voice-simple-btn" value="搜索">
        
    </form>

    </div>
</div>
<!-- navPath end -->
<div class="hp-wrap">
    <!-- main start -->
    <div class="voice-main">
            
            <!-- 内容部分 start -->
            <!--①-->            
    <!-- articalTitle start -->
    <div class="artical-title">
        <h1 class="headline">
            {{$news->ntitle}}        </h1>
        <div class="artical-info">
            <span class="fn-fl">
                <span class="comeFrom" id="source_baidu">
                    发表于:
                </span>
                <a href="javascript:;" class="time">
                    <span id="pubtime_baidu">{{$news->nctime}}</span>
                </a>
            </span>
            <span class="fn-fr">
                <a href="#tracingArticalComment" class="btn-viewComment">
                    <i class="iconfont ico-comment"></i>
                    2                </a>
            </span>
        </div>
    </div>
    <!-- articalTitle end -->
    <!--正文部分 start-->
    <div class="artical-content">
                    <!-- 一般全文 start -->
            <div class="artical-content-read">
                
                <div class="artical-main-content">
                    {!! $news->ncon !!}                    <span id="editor_baidu"> (编辑：{{$news->nname}})</span>
                </div>
                
            </div>
            <!-- 一般全文 end -->
        
        
    </div>
    <!--正文部分 end-->
<!--②-->                    








            <!-- 内容部分 end -->
            
            <!-- 评论部分 start -->
            <div class="voice-comment artical-comment J_voiceComment" id="tracingArticalComment" data-messgae="2112597" data-type="message">
    <!-- 评论框 start -->
    <input type="hidden" class="hidden_session_pic"  value="{{session('pic')}}">
    <input type="hidden" class="hidden_session_name"  value="{{session('username')}}">
    @if(!empty(session('uid')))
    <div class="commont-box J_commentTextarea">
        <a name="reply"></a>
        <p class="userAvatar"> 
            <a target="_blank" href="#"><img src="{{session('pic')}}"></a>
        </p>
        <div class="bd">
            <input name="messgae_id" value="{{$news->nid}}" type="hidden">
            <div class="textarea-box" style="display: none;">
                <textarea class="comments_content" name="content"></textarea>
                    <div class="textarea-tip">
                        快来发表您对这条新闻的看法吧!
                    </div>              
            </div>
            <div class="edui-container" style="width: 593px; z-index: 999;"><div style="height: 0px;"></div><div class="edui-toolbar" style="width: 0px; z-index: 1000; position: fixed; top: 0px;"><div class="edui-btn-toolbar" unselectable="on" onmousedown="return false"><div class="edui-btn edui-btn-bold" unselectable="on" onmousedown="return false" data-original-title="加粗"> <div unselectable="on" class="edui-icon-bold edui-icon"></div><div class="edui-tooltip" unselectable="on" onmousedown="return false" style="z-index: 1000;"><div class="edui-tooltip-arrow" unselectable="on" onmousedown="return false"></div><div class="edui-tooltip-inner" unselectable="on" onmousedown="return false"></div></div></div><div class="edui-btn edui-btn-italic" unselectable="on" onmousedown="return false" data-original-title="斜体"> <div unselectable="on" class="edui-icon-italic edui-icon"></div><div class="edui-tooltip" unselectable="on" onmousedown="return false"><div class="edui-tooltip-arrow" unselectable="on" onmousedown="return false"></div><div class="edui-tooltip-inner" unselectable="on" onmousedown="return false"></div></div></div><div class="edui-btn edui-btn-underline" unselectable="on" onmousedown="return false" data-original-title="下划线"> <div unselectable="on" class="edui-icon-underline edui-icon"></div><div class="edui-tooltip" unselectable="on" onmousedown="return false"><div class="edui-tooltip-arrow" unselectable="on" onmousedown="return false"></div><div class="edui-tooltip-inner" unselectable="on" onmousedown="return false"></div></div></div><div class="edui-separator" unselectable="on" onmousedown="return false"></div><div class="edui-btn edui-btn-insertunorderedlist" unselectable="on" onmousedown="return false" data-original-title="无序列表"> <div unselectable="on" class="edui-icon-insertunorderedlist edui-icon"></div><div class="edui-tooltip" unselectable="on" onmousedown="return false"><div class="edui-tooltip-arrow" unselectable="on" onmousedown="return false"></div><div class="edui-tooltip-inner" unselectable="on" onmousedown="return false"></div></div></div><div class="edui-btn edui-btn-insertorderedlist" unselectable="on" onmousedown="return false" data-original-title="有序列表"> <div unselectable="on" class="edui-icon-insertorderedlist edui-icon"></div><div class="edui-tooltip" unselectable="on" onmousedown="return false"><div class="edui-tooltip-arrow" unselectable="on" onmousedown="return false"></div><div class="edui-tooltip-inner" unselectable="on" onmousedown="return false"></div></div></div><div class="edui-separator" unselectable="on" onmousedown="return false"></div><div class="edui-btn edui-btn-image" unselectable="on" onmousedown="return false" data-original-title="图片"> <div unselectable="on" class="edui-icon-image edui-icon"></div><div class="edui-tooltip" unselectable="on" onmousedown="return false"><div class="edui-tooltip-arrow" unselectable="on" onmousedown="return false"></div><div class="edui-tooltip-inner" unselectable="on" onmousedown="return false"></div></div></div><div class="edui-btn edui-btn-link" unselectable="on" onmousedown="return false" data-original-title="超链接"> <div unselectable="on" class="edui-icon-link edui-icon"></div><div class="edui-tooltip" unselectable="on" onmousedown="return false"><div class="edui-tooltip-arrow" unselectable="on" onmousedown="return false"></div><div class="edui-tooltip-inner" unselectable="on" onmousedown="return false"></div></div></div><div class="edui-btn edui-btn-unlink" unselectable="on" onmousedown="return false" data-original-title="取消链接"> <div unselectable="on" class="edui-icon-unlink edui-icon"></div><div class="edui-tooltip" unselectable="on" onmousedown="return false"><div class="edui-tooltip-arrow" unselectable="on" onmousedown="return false"></div><div class="edui-tooltip-inner" unselectable="on" onmousedown="return false"></div></div></div><div class="edui-separator" unselectable="on" onmousedown="return false"></div><div class="edui-btn edui-btn-removeformat" unselectable="on" onmousedown="return false" data-original-title="清除格式"> <div unselectable="on" class="edui-icon-removeformat edui-icon"></div><div class="edui-tooltip" unselectable="on" onmousedown="return false"><div class="edui-tooltip-arrow" unselectable="on" onmousedown="return false"></div><div class="edui-tooltip-inner" unselectable="on" onmousedown="return false"></div></div></div></div><div class="edui-dialog-container"></div></div><div class="edui-editor-body"><div id="J_editor" style="width: 573px; overflow: hidden; min-height: 100px; z-index: 999;" class=" edui-body-container" contenteditable="true"><p><br></p></div></div></div>
            <div class="bot">
                <div class="bot-right">
                    <input  value="评论" class="voice-simple-btn btn-submit J_btn_reply comments" type="submit">
                </div>
            </div>
        </div>
    </div>

    @else

    <div class="commont-box J_commentTextarea">
        <a name="reply"></a>
        <p class="userAvatar"> 
            <a target="_blank" href="#">
                <img src="{{asset('/HomeCss/News/picture/default_small.jpg')}}">
            </a>   
        </p>

        <div class="bd">
            <input type="hidden" name="messgae_id" value="2112597">
            <div class="textarea-box">
                <textarea name="content"></textarea>
                    <div class="textarea-tip">
                         快来发表您对这条新闻的看法吧!
                    </div>              
            </div>
            <div class="textarea-message" style="height:58px;line-height:50px;">
                    您需要登录才可以评论，请&nbsp <a href="{{url('/home/login/login')}}" target="_blank">登录</a>&nbsp或者&nbsp <a href="{{url('/home/login/regist')}}" target="_blank">立即注册</a>            
            </div>
             <div id="J_editor" style="width:100%;overflow:hidden;"></div>
            <div class="bot">
                <div class="bot-right">
                    <input type="submit" value="评论" class="voice-simple-btn btn-submit J_btn_reply">
                </div>
            </div>
        </div>
    </div>
    @endif  
        <!-- 评论框 end -->

        <!-- 普通评论 start -->
        <div class="general-comment">
            <div class="hd">
                <h2>已有<span class="J_voice_comment_total_num" data-all-floor="2"> {{$num->num}} </span>条评论</h2>
            </div>
            <div class="comment-list" id="J_commentList">
            <?php $n = 0; ?>
                @foreach($comments as $k=>$v)
                 <?php $n++; ?>
                <dl id="p8714638" class="reply_8714638" data-uname="{{$v->username}}" data-uid="{{$v->uid}}" data-reply-id="8714638" data-floor="1">
                    <dd class="userAvatar">
                        <a target="_blank" href="/home/mypage/" target="_blank"><img src="{{$v->pic}}" /></a>
                    </dd>
                    
                    <dd class="userInfo-hd">
                        <a target="_blank" class="name" href="/home/mypage/">{{$v->username}}</a>
                        <span class="fraction"><span class="fraction-num J_comment_supportNumber">赞(<span class="supportCount">{{$v->clike}}</span>)</span></span>
                    </dd>
        
                    <dt class="comm-bd">
                        <div class="J_reply_content">
                            <p>{!! $v->cncont !!}&nbsp;</p>        
                        </div>
                    </dt>
        
                    <dd class="comm-bt">
                        <span class="time"><?php  echo substr($v->cntime,0,16);  ?></span>
                        <div class="bt-fr">
                            <a class="btn-support J_comment_btnSupport" cid="{{$v->cid}}" href="javascript:">
                                <i class="iconfont ico-support"></i>
                                赞
                            </a>
                            <span class="line">|</span>
                            <a href="#tracingCommontBox" class="btn-at J_commentAt">
                               
                                                    &nbsp;{{$n}}楼
                                            </a>
                                    </div>
                    </dd>
                                                    
                </dl>
                @endforeach
                 
            </div>
                    </div>
        <!-- 普通评论 end -->
        <!-- 隐藏评论 start -->
                <!-- 隐藏评论 end -->

    </div>            <!-- 评论部分 start -->



        </div>
        <!-- main end -->
    
    <!-- sidebar start -->
    <div class="voice-sidebar">
        <!--<div class="voice-ad300-100">
        广告位
        </div>-->
        

        
        <!-- 24小时新闻排行榜 start -->
        <div class="hours24-top">
            <div class="hd">
                <h2>24小时新闻热度排行榜</h2>
            </div>
            <div class="bd">
                <ul class="list">
                    <?php $number  = 0;?>
                    @foreach($hot as $k=>$v)
                    <?php $number++;?>
                        <li>
                            <span class="number number-{{$number}}">{{$number}}</span>
                            <a href="/home/news/detial?nid={{$v->nid}}" target="_blank" title="{{$v->ntitle}}">{{$v->ntitle}}</a>
                        </li>
                    @endforeach  
                </ul>
            </div>
        </div>
        
        
       
    </div>
    <!-- sidebar end -->
</div>

<!--页面浏览数统计-->
<img width="1" height="1" src="{{asset('/HomeCss/News/picture/ad8b26cc4aa9495e94a772b40cb71196.gif')}}"/>

<script type="text/javascript" src="{{asset('/HomeCss/News/js/promote.js')}}"></script><!--页面脚步信息-->
<div class="hp-footer">
                    
                    <div class="hp-copyright">
                    Copyright by 虎扑JRs &amp;
                    <a href="http://www.hupu.com/" target="_blank" title="体育">虎扑体育</a> -
                    <a href="http://jobs.hupu.com/" target="_blank">在虎扑工作</a> -
                    <a href="http://marketing.hupu.com/contact/" target="_blank">联系我们</a> -
                    <a href="http://mobile.hupu.com/" target="_blank">手机虎扑</a> -
                    <a href="http://www.hupu.com/declare.html" target="_blank">网站声明</a> -
                    <a href="http://www.hupu.com/sitemap.html" target="_blank">网站地图</a> -
                    <a href="http://nba.hupu.com/" target="_blank" title="NBA">NBA</a> -
                    <a href="http://cba.hupu.com/" target="_blank" title="CBA">CBA</a>  -
                    <a href="http://soccer.hupu.com/" target="_blank" title="足球">足球</a> -
                    <a href="http://soccer.hupu.com/china/" target="_blank" title="中超">中超</a> -
                    <a href="http://racing.hupu.com/" target="_blank" title="赛车">赛车</a>
                    </div>
                </div>




</body>
</html>
<!-- voice config 配置 -->

<!-- seajs config 配置 -->



<script type='text/javascript' src="{{asset('/HomeCss/News/js/google_service.js')}}"></script>
<script type="text/javascript">
    //评论操作
    $('.comments').click(function(){
        var str = $('.edui-body-container').html();//获取回复内容
        var nid = $('input[name=messgae_id]').val();//获取nid
        var name = $('.hidden_session_name').val();//获取username
        var pic = $('.hidden_session_pic').val();//获取pic
        // console.log(pic);
        var sstr = '';
        var num = $('.J_voice_comment_total_num').html();
        var dl = '<dl id="" class="reply_8714638" data-uname="'+name+'" data-uid="" data-reply-id="8714638" data-floor="1"><dd class="userAvatar"> <a target="_blank" href="/home/mypage/" target="_blank"><img src="'+pic+'" /></a> </dd> <dd class="userInfo-hd"> <a target="_blank" class="name" href="/home/mypage/">'+name+'</a> <span class="fraction"><span class="fraction-num J_comment_supportNumber">赞(<span class="supportCount">0</span>)</span></span> </dd> <dt class="comm-bd"> <div class="J_reply_content"> <p>'+str+'&nbsp;</p> </div> </dt> <dd class="comm-bt"> <span class="time">1分钟前</span> <div class="bt-fr"> <a class="btn-support J_comment_btnSupport" href="javascript:"> <i class="iconfont ico-support"></i> 赞 </a> <span class="line">|</span> <a href="#tracingCommontBox" class="btn-at J_commentAt"> &nbsp;{{$n+1}}楼 </a> </div> </dd></dl>'
        $.get('/home/news/comments',{cnid:nid,cncont:str},function(data){
            if (data == 1) {
                $('.comment-list').append(dl);
                $('.edui-body-container').html(sstr);
                $('.J_voice_comment_total_num').html(Number(num)+1);
            }else{
                alert('评论失败...');
            }
        });
    });
    
    //点赞加1
    $('.J_comment_btnSupport').click(function(){
        console.log(22);
        var cid = $(this).attr('cid');
        var str = $(this).parents('.comm-bt').siblings('.userInfo-hd').find('.supportCount');
        var zan = $(this);
        $.get('/home/news/clike',{cid:cid},function(data){
            if (data == 1) {
                zan.css('color','red');
                str.html(Number(str.html())+1);
                // zan.parents('.comm-bt').siblings('.userInfo-hd').find('.supportCount').html(Number(str)+1); 
            }else{

            }
        });

    });
</script>